package stream;

/**
 * @author feng
 * @Date 2022/2/24 20:50
 */
public class Transaction {
    private String Tname;  //交易员姓名
    private Integer year;
    private Double salary;

    public Transaction() {
    }

    public Transaction(String tname, Integer year, Double salary) {
        Tname = tname;
        this.year = year;
        this.salary = salary;
    }

    public String getTname() {
        return Tname;
    }

    public void setTname(String tname) {
        Tname = tname;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }
}
